﻿using IMES.Common.Domain.SirModel;
using IMES.Common.Dtos;
using MediatR;

namespace GlennQuigmire.API.Application.Commands
{
    public class ProductSearchCommand:IRequest<ResultPage<Product>>
    {
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductNumber { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 产品规格
        /// </summary>
        public string ?ProductSpecification { get; set; }
        /// <summary>
        /// 库存单位
        /// </summary>
        public int StockUnit { get; set; }
        /// <summary>
        /// 工艺路线编号（主键）
        /// </summary>
        public int ProcessRouteId { get; set; }
        /// <summary>
        /// 产品属性
        /// </summary>
        public int ProductStats { get; set; }
        /// <summary>
        /// 最大库存
        /// </summary>
        public int MaxInventory { get; set; }
        /// <summary>
        /// 最小库存
        /// </summary>
        public int MinInventory { get; set; }
        /// <summary>
        /// 安全库存
        /// </summary>
        public int SaveInventory { get; set; }
        /// <summary>
        /// 库存数量
        /// </summary>
        public int InventoryStore { get; set; }
        /// <summary>
        /// 创建开始时间
        /// </summary>
        public string? CreateStartTime { get; set; }
        /// <summary>
        /// 创建结束时间
        /// </summary>
        public string? CreateEndTime { get; set; }

        /// <summary>
        /// 修改开始时间
        /// </summary>
        public string? UpdateStartTime { get; set; }
        /// <summary>
        /// 修改结束时间
        /// </summary>
        public string? UpdateEndTime { get; set; }
        public int PageIndex { get; set; }
        public int PageSize { get; set; }

    }
}
